import React from 'react'
import { router } from './router/router'
import {useRoutes,BrowserRouter} from 'react-router-dom'
const App = () => {
  const El=()=>useRoutes(router)
  return (
    <BrowserRouter>
      <El></El>
    </BrowserRouter>
  )
}

export default App
